﻿using FluentData;

namespace Common.Utility
{
    public class BaseSqlConnection
    {
        public virtual IDbContext Context
        {
            //get { return new DbContext().ConnectionStringName("DBConnection", new SqlServerProvider()); }
            get { return new DbContext().ConnectionStringName("DBConnection", new SqlServerCompactProvider()); }
            //.ConnectionStringName("testDBContext", DbProviderTypes.SqlServer);
            //AccessProvider, DB2Provider, OracleProvider, MySqlProvider, PostgreSqlProvider, SqliteProvider, SqlServerCompact, SqlAzureProvider, SqlServerProvider

        }

        public void DbContext()
        {
            //Data.PostgreSql;

        }
    }
}
